package com.lktx.sso.admin.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

import java.time.LocalDateTime;

/** 文件系统 - files */
@Data
@Table("sso_files")
public class SsoFiles {
    /**组件*/
    @Id(value = "id", keyType = KeyType.None)
    private String id;
    /**文件路径*/
    private String filePath;
    /**文件名字*/
    private String fileName;
    /**文件后坠*/
    private String suffix;
    private String url;
    /**创建时间*/
    @Column(onUpdateValue = "now()", onInsertValue = "now()")
    private LocalDateTime createTime;
}